<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<title>Title</title>
		<script src="../plugins/jquery-2.1.0.js"></script>
		<style>
			.number {
				background: #00BBEC;
				text-align: center;
				height: 30px;
				line-height: 30px;
				font-size: 14px;
				overflow: hidden;
				margin-left: 0.15rem;
				color: #000000;
				padding: 0 20px;
				display: inline-block;
			}
		</style>
	</head>

	<body>
		<div class="price-div" id="container1"></div>
		<div class="price-div" id="container2"></div>
	
		<script>
			var name = "asd";
			var p1 = {
				name: "p1name",
				show1:function (){
					console.log(this.name);
				},
				show2:() => console.log(this.name),
				show3:function (){
					return console.log(this.name);
				},
			}
			p1.show1();
			p1.show2();
			p1.show3();
		</script>
	</body>

</html>